﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using Microsoft.Xna.Framework;

namespace Server
{
    /// <summary>
    /// Server to run my program
    /// </summary>
    class Program
    {
        // Queue to handle pacckets received
        public static Queue<QueueItem> commandQueue;
        
        /// <summary>
        /// Main for program
        /// </summary>
        /// <param name="args">Commandline Arguments</param>
        static void Main(string[] args)
        {
            commandQueue = new Queue<QueueItem>();
            Server server = new Server(commandQueue);
            server.Run();
            System.Environment.Exit(System.Environment.ExitCode);
        }
    }
}
